package treeview.unit;

import java.awt.*;

/**
 * Created by Pavel Nikolaev
 */
public final class EmptyLineView extends AbstractUnitView {

    public void fitIntoWidth(Graphics g, int widthToFitInto) {
        FontMetrics fm = g.getFontMetrics();
        myHeight = fm.getHeight();
        myWidth = widthToFitInto;
    }

    public void paint(Graphics g) {
        //paints nothing
    }
}
